﻿@model HRM.DAL.DAO.Contact

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Contact</legend>

    <div class="display-label">Employee</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Employee.Name)
    </div>

    <div class="display-label">FirstContact</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstContact)
    </div>

    <div class="display-label">Secondcontact</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Secondcontact)
    </div>

    <div class="display-label">EmergencyContactPerson</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EmergencyContactPerson)
    </div>

    <div class="display-label">EmergencyContactNumber</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EmergencyContactNumber)
    </div>

    <div class="display-label">PresentAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PresentAddress)
    </div>

    <div class="display-label">PermanentAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PermanentAddress)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
